package com.example.forumadminbackend.mapper;

import com.example.forumadminbackend.entity.Board;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface BoardMapper {
    Board selectById(@Param("boardId") String boardId);
    List<Board> selectAll();
    int insert(Board board);
    int update(Board board);
    int delete(@Param("boardId") String boardId);
} 